package com.muyu.system.service;

import com.muyu.system.domain.DanmoShoppingFlagship;
import com.muyu.system.req.DanmoShoppingFlagshipReq;
import com.muyu.system.req.DanmoShoppingProductsPriceReq;

import java.util.List;

/**
 * 旗舰店Service接口
 *
 * @author yangle
 * @date 2024-09-29
 */
public interface IDanmoShoppingFlagshipService
{
    /**
     * 查询旗舰店
     *
     * @param id 旗舰店主键
     * @return 旗舰店
     */
    public DanmoShoppingFlagship selectDanmoShoppingFlagshipById(Long id);

    /**
     * 查询旗舰店列表
     *
     * @param danmoShoppingFlagship 旗舰店
     * @return 旗舰店集合
     */
    public List<DanmoShoppingFlagship> selectDanmoShoppingFlagshipList(DanmoShoppingFlagship danmoShoppingFlagship);

    /**
     * 新增旗舰店
     *
     * @param danmoShoppingFlagship 旗舰店
     * @return 结果
     */
    public int insertDanmoShoppingFlagship(DanmoShoppingFlagship danmoShoppingFlagship);

    /**
     * 修改旗舰店
     *
     * @param danmoShoppingFlagship 旗舰店
     * @return 结果
     */
    public int updateDanmoShoppingFlagship(DanmoShoppingFlagship danmoShoppingFlagship);

    /**
     * 批量删除旗舰店
     *
     * @param ids 需要删除的旗舰店主键集合
     * @return 结果
     */
    public int deleteDanmoShoppingFlagshipByIds(Long[] ids);

    /**
     * 删除旗舰店信息
     *
     * @param id 旗舰店主键
     * @return 结果
     */
    public int deleteDanmoShoppingFlagshipById(Long id);

    List<DanmoShoppingFlagship> listProducts(DanmoShoppingFlagshipReq danmoShoppingFlagshipReq);

    /**
     * 旗舰店知名度排序
     * @param danmoShoppingProductsPriceReq
     * @return
     */
    List<DanmoShoppingFlagship> selectDanmoShoppingFlagshipListRankingOfPopularity(DanmoShoppingProductsPriceReq danmoShoppingProductsPriceReq);
}
